/**
 * 
 */
package ar.com.psicosoft.persistence.psicosoft_admin;

import java.io.Serializable;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.stereotype.Repository;

import ar.com.psicosoft.model.psicosoft_admin.Servicio;

@Repository(value = "servicioDao")
public class ServicioDaoImpl implements ServicioDao, Serializable {

	private static final long serialVersionUID = 1L;
	@PersistenceContext(unitName = "psicosoftPU")
	private EntityManager entityManager;

	@Override
	public void guardarServicio(Servicio servicio) {
		this.entityManager.merge(servicio);
	}

}
